home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 June
/
ccd0605.iso
/
Software
/
Freeware
/
Programare
/
highlight
/
highlight-W32GUI-2.2-10b-Setup.exe
/
{app}
/
src
/
datadir.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2004-06-30
|
2KB
|
45 lines
/***************************************************************************
datadir.cpp - description
-------------------
begin : Sam MΣr 1 2003
copyright : (C) 2003 by AndrΘ Simon
email : saalen@gmx.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "datadir.h"
using namespace std;
DataDir::DataDir():
datadir(wxGetCwd().c_str())
{
}
const string &DataDir::getDir() {
return datadir;
}
const string DataDir::getThemeDir(){
return datadir+"\\themes\\";
}
const string DataDir::getLangDefDir(){
return datadir+"\\langDefs\\";
}
const string DataDir::getI18nDir(){
return datadir+"\\i18n\\";
}
const string DataDir::getExtDir(){
return datadir+"\\ext\\";
}
const string DataDir::getIndentSchemesDir(){
return datadir+"\\indentSchemes\\";
}